package com.danskin.wechat.util;

import java.util.HashMap;
import java.util.Map;

/**
 * 会员等级配置
 * 
 * @author likui.liu
 *
 */
public class VipLevelUtil {

	public static Map<String, String> VipLevel = new HashMap<String, String>();

	static {

		VipLevel.put("v0", "-");
		VipLevel.put("v1", "新锐会员");
		VipLevel.put("v2", "菁英会员");
		VipLevel.put("v3", "铜牌会员");
		VipLevel.put("v4", "银牌会员");
		VipLevel.put("v5", "金牌会员");
		VipLevel.put("v6", "韦德会员");
	}

	public static String getVipLevelName(String vipLevel) {
		vipLevel = vipLevel.toLowerCase();
		String vipLevelName = VipLevel.get(vipLevel);
		return vipLevelName != null ? vipLevelName : vipLevel;

	} 
}
